﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Xyz.Hrs.Shared.DataContracts.DataObjects;
using Xyz.Hrs.Shared.DataContracts.Enums;

namespace Xyz.Hrs.Shared.ServiceContracts
{
    [ServiceContract]
    public interface IAppointmentManagementService
    {
        [OperationContract]
        void CreateAppointment(int doctorId, DateTime date);
        [OperationContract]
        AppointmentDTO[] GetAppointments(int[] doctorIds);
        [OperationContract]
        AppointmentDetailsDTO[] GetMyAppointments();
        [OperationContract]
        AppointmentDetailsDTO ConcludeAppointment(int appointmentId, string result, EAppointmentConcludeReason state);
    }
}
